package com.yklx.youke.repository;

import com.yklx.youke.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.UUID;

@Repository
public interface StudentRepository extends JpaRepository<Student, UUID> {
    List<Student> findByParentUserId(UUID parentId);
    List<Student> findByGradeLevel(Student.GradeLevel gradeLevel);
}